$(function()
{
	$("#stakoSearchSubmit").click(function()
	{
		var theCity = $("#city").val();
		var theFrom = $("#from").val();
		var theTo = $("#to").val();
		$.post("stakoSearch.php", {city : theCity, from : theFrom, to : theTo}, function(data)
		{
			$("#mainFrame").html(data);
			$("#newsDialog").hide("explode");
		});
	});
});